import request from '@/utils/request'

// 查询场内车辆管理列表
export function listVehicleEnterRecord(query) {
  return request({
    url: '/billsdecl/vehicleEnterRecord/list',
    method: 'get',
    params: query
  })
}

// 查询场内车辆管理详细
export function getVehicleEnterRecord(id) {
  return request({
    url: '/billsdecl/vehicleEnterRecord/getInfo/' + id,
    method: 'get'
  })
}

// 新增场内车辆管理
export function addVehicleEnterRecord(data) {
  return request({
    url: '/billsdecl/vehicleEnterRecord/add',
    method: 'post',
    data: data
  })
}

// 修改场内车辆管理
export function updateVehicleEnterRecord(data) {
  return request({
    url: '/billsdecl/vehicleEnterRecord/edit',
    method: 'post',
    data: data
  })
}

// 删除场内车辆管理
export function delVehicleEnterRecord(id) {
  return request({
    url: '/billsdecl/vehicleEnterRecord/remove/' + id,
    method: 'get'
  })
}

// 导出场内车辆管理
export function exportVehicleEnterRecord(query) {
  return request({
    url: '/billsdecl/vehicleEnterRecord/export',
    method: 'get',
    params: query
  })
}
